createValue

open fun <E, V> createValue(@NonNull() value: V): Expected<E, V>

Create an expected value.

Return

the created expected value

Parameters

value

the expected value

<E>

type of the expected error

<V>

type of the expected value